package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Permission;

import java.util.List;

/**
 * 权限接口
 */
public interface PermissionService {
    //会员添加
    void add(Permission permission);

    //分页
    PageResult pageQuery(QueryPageBean queryPageBean);

    //查询全部
    List<Permission> findAll();
}
